//
//  CashFlowRequest.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/6/20.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class CashFlowRequest: BaseRequest {
    var type:CoinAccountType?
    override func path() -> String {
        if type == .legalType {
            return Api.Mine.legalCash
        }else if type == .coinType {
            return Api.Mine.coinCash
        }else {
            
            return Api.Mine.leverCash
        }
    }
    override func method() -> HTTPMethodType {
        return .get
    }
    override func openIndicator() -> Bool {
        return true
    }
}
